package com.business.domain;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.sys.domain.AdminProvince;

public class ActivitiesCar {
    private Integer id;

    private String activitiesType;

    private Integer city;

    private String carType;

    private Integer carId;

    private Double activityRate;
    
    private AdminProvince adminProvince;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beginTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
    
    private CarModel model;
    
    private CarSeries series;
    
    private CarBrand brand;
    
    
    

    public CarModel getModel() {
		return model;
	}

	public void setModel(CarModel model) {
		this.model = model;
	}

	public CarSeries getSeries() {
		return series;
	}

	public void setSeries(CarSeries series) {
		this.series = series;
	}

	public CarBrand getBrand() {
		return brand;
	}

	public void setBrand(CarBrand brand) {
		this.brand = brand;
	}

	public AdminProvince getAdminProvince() {
		return adminProvince;
	}

	public void setAdminProvince(AdminProvince adminProvince) {
		this.adminProvince = adminProvince;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getActivitiesType() {
        return activitiesType;
    }

    public void setActivitiesType(String activitiesType) {
        this.activitiesType = activitiesType == null ? null : activitiesType.trim();
    }

    public Integer getCity() {
        return city;
    }

    public void setCity(Integer city) {
        this.city = city;
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType == null ? null : carType.trim();
    }

    public Integer getCarId() {
        return carId;
    }

    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    public Double getActivityRate() {
        return activityRate;
    }

    public void setActivityRate(Double activityRate) {
        this.activityRate = activityRate;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
}